/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package Models;

import java.io.Serializable;

/**
 *
 * @author Trang
 */
public class User implements Serializable{
    private int UserID;
    private String UserName;
    private String Password;
    private int RoleID;

    public User(int UserID, String UserName, String Password) {
        this.UserID = UserID;
        this.UserName = UserName;
        this.Password = Password;
    }
    
    public User(){
        
    }

    public int getUserID() {
        return UserID;
    }

    public void setUserID(int UserID) {
        this.UserID = UserID;
    }

    public String getUserName() {
        return UserName;
    }

    public void setUserName(String UserName) {
        this.UserName = UserName;
    }

    public String getPassword() {
        return Password;
    }

    public void setPassword(String Password) {
        this.Password = Password;
    }

    

    public int getRoleID() {
        return RoleID;
    }

    public void setRoleID(int RoleID) {
        this.RoleID = RoleID;
    }
    @Override
    public String toString(){
        return (UserName);
    }
}
